package org.example.service;

import org.example.model.table.Course;
import org.example.model.vo.CourseVo;
import org.example.util.Result;
import org.springframework.stereotype.Service;

@Service
public interface CourseService {
    public Result addCourse(Course course);
    public Result deleteCourseById(Long id);
    public Result changeCourse(Course course);
    public Result getCourseById(Long id);

    Result getCoursePage(Integer page, Integer size, CourseVo courseVo);

    Result getAllCourse();
}
